package com.panshi.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panshi.modules.domain.QaAnswerComment;
import com.panshi.vo.QueryCommentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface QaAnswerCommentMapper extends BaseMapper<QaAnswerComment> {
    List<QaAnswerComment> commentlist(QueryCommentVO queryCommentVO);

    List<QaAnswerComment> revertAll(@Param("parentId") Long parentId);
}
